﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Table</title>
    <link rel="stylesheet" href="../../assets/js/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../assets/css/global.css" media="all">
    <link rel="stylesheet" href="../../assets/js/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../../assets/css/table.css" />
</head>

<body>
    <div class="admin-main">
        <div class="content-search">
            <form id="searchform" action="" class="layui-form">
                <div class="layui-inline">
                    <input class="layui-input layui-text" name="id" id="id" placeholder="活动ID" />
                </div>
                <div class="layui-inline">
                    <input class="layui-input layui-text" name="prmname" id="prmname" placeholder="活动名称" />
                </div>
                <div class="layui-inline">
                    <input class="layui-input layui-text" name="remark" id="remark" placeholder="备注" />
                </div>
                <div class="layui-inline">
                    <input class="layui-input layui-text" name="wid" id="wid" placeholder="公众号ID" />
                </div>
                <div class="layui-inline">
                    <input class="layui-input layui-text" name="wName" id="wName" placeholder="公众号名称" />
                </div>
                <div class="layui-inline">
                    <input type="button" class="layui-btn J_search" lay-submit lay-filter="search" value="筛选" />
                </div>
                <div class="layui-inline">
                    <a class="layui-btn layui-btn-small J_iframe_dialog" href="javascript:;" data-url="/modules/wechatservice/promote_add.html" data-title="新增活动">
                        <i class="layui-icon">&#xe608;</i> 新增
                    </a>
                </div>
            </form>
        </div>
        <fieldset class="layui-elem-field">
            <legend>活动列表</legend>
            <div class="layui-field-box layui-form">
                <table class="layui-hide" id="tablecont" lay-filter="table"></table>
            </div>
        </fieldset>
    </div>
    <script type="text/html" id="statusTpl">
        <span class="layui-badge {{ d.status ? 'layui-bg-green' : 'layui-bg-orange' }}">{{ d.status==1 ? '启用' : '停用' }}</span>
    </script>
    <script type="text/html" id="toolBar">
        <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="detail">编辑</a>
    </script>
</body>
<script type="text/javascript" src="../../assets/js/layui/layui.js"></script>
<script>
    layui.config({
        version: "1.0.2",
        base: 'js/'
    }).use('promote');
</script>

</html>